export symbols: support macos/windows(32/64)#155535
export symbols: support macos/windows(32/64)#155535cezarbbb wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
r? @wesleywiser rustbot has assigned @wesleywiser. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Could someone pls give me permission to test whether the current modifications will work correctly on Windows and macOS? |
|
@bors delegate=try |
|
✌️ @cezarbbb, you can now perform try builds on this pull request! You can now post |
Thanks!!! It helps me a lot:> |
|
@bors try jobs=x86_64-msvc-* |
export symbols: support macos/windows(32/64) try-job: x86_64-msvc-*
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 22e628f failed: CI. Failed job:
|
|
@bors try jobs=x86_64-msvc-* |
This comment has been minimized.
This comment has been minimized.
export symbols: support macos/windows(32/64) try-job: x86_64-msvc-*
|
💔 Test for 71d836c failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=x86_64-msvc-* |
This comment has been minimized.
This comment has been minimized.
export symbols: support macos/windows(32/64) try-job: x86_64-msvc-*
|
@bors try jobs=aarch64-* |
This comment has been minimized.
This comment has been minimized.
export symbols: support macos/windows(32/64) try-job: aarch64-*
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=aarch64-* |
This comment has been minimized.
This comment has been minimized.
export symbols: support macos/windows(32/64) try-job: aarch64-*
00a6cab to
5a2b2d2
Compare
|
Tests passed. Let me squash these commits to one commit. |
|
@rustbot ready |
5a2b2d2 to
c5002ba
Compare
|
@bors try jobs=x86_64-msvc-* |
This comment has been minimized.
This comment has been minimized.
export symbols: support macos/windows(32/64) try-job: x86_64-msvc-*
|
Do I understand it correctly that this doesn't handle C++ symbol name undecorating on Windows? |
Yes, this only handles C symbol name decoration. |
|
@bjorn3 Do you want me to add handling for C++ symbols on Windows? I don't think special handling is needed for C++ symbols on Linux/macOS, cause only Windows C++ symbol name has a special decorating scheme, starting with a |
c5002ba to
3171abe
Compare
|
Handling of Windows C++ mangled symbols has now been added. Linux/macOS don't need. |
|
@bors try jobs=x86_64-msvc-* |
This comment has been minimized.
This comment has been minimized.
export symbols: support macos/windows(32/64) try-job: x86_64-msvc-*
View all comments
Previously, in the pr #150992 , export symbols only supported Linux. The special prefix and suffix rules for some symbols in macOS and Windows were not fully supported. This pull request attempts to clarify these rules and add corresponding support.
Currently, the
undecorate_c_symbol()function has been added to handle macOS_prefixes, Windows x86 calling convention modifiers (cdecl/stdcall/fastcall/vectorcall), and Arm64EC#prefixes.*Update: Handling of Windows C++ mangled symbols has now been added(Linux/macOS don't need).
r? @bjorn3 @petrochenkov